package stu.aistar.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import stu.aistar.mapper.CinameMapper;
import stu.aistar.model.pojo.Ciname;
import stu.aistar.service.IAreaService;
import stu.aistar.service.ICinameService;

import java.util.List;

@Service
public class CinameServiceImpl implements ICinameService {
    @Autowired
    private CinameMapper cinameMapper;
    @Override
    public List<Ciname> findCinamesByArea(String city, String area) {
        return cinameMapper.findByArea(city,area);
    }
}
